package twu.shubham.biblioteca;

import org.junit.Test;

import static org.junit.Assert.assertEquals;


public class ExampleTestsmember {
    @Test
    public void test1() throws Exception {

        assertEquals(1, new membersrecord().setValues(1,100,"Sholay",100,"554432","raj"));
    }

    @Test
    public void test2() throws Exception {

        assertEquals(0, new membersrecord().setValues(0,100,"Sholay",100,"554432","raj"));
    }

   membersrecord member = new membersrecord();
    int a = member.setValues(1,1111123,"Sholay",100,"554432","raj")  ;

    @Test
    public void test3() throws Exception {

        assertEquals(1, member.printDetail());
    }

    membersrecord member1 = new membersrecord();
    int b = member1.setValues(0,1111132,"Sholay",100,"554432","raj")  ;
    @Test
    public void test4() throws Exception {

        assertEquals(0, member1.printDetail());
    }
}
